<%@page import="java.util.Calendar" %>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
	<title>Insert title here</title>
	<link rel="stylesheet" type="text/css" href="/LigaPes/resources/css/bootstrap.css" />
	<link rel="stylesheet" type="text/css" href="/LigaPes/resources/css/style.css" />
	<script src="/LigaPes/resources/js/bootstrap.js"></script>
	<script src="/LigaPes/resources/js/jquery/jquery-1.11.0.min.js"></script>
</head>
<body>
	<div id="container">
		<div id="header">
			<h2><a href="/LigaPes/NavigationController?PAGE=P">LigaPes - <%=Calendar.getInstance().get(Calendar.YEAR) %></a></h2>
			<ul>
				<li><a href="/LigaPes/NavigationController?PAGE=P">Home</a></li>
				<li><a href="/LigaPes/NavigationController?PAGE=T">Torneios</a></li>
				<li><a href="#">Link 3</a></li>
				<li><a href="#">Link 4</a></li>
				<li><a href="/LigaPes/AcessoController?LOGOUT=Y">Sair</a></li>
			</ul>
		</div>
		<div id="content">
			<c:if test="${!empty param.PAGE}">
				<c:choose>
					<c:when test="${param.PAGE == 'P'}">
						<c:import url="home/index.jsp" />
					</c:when>
					<c:when test="${param.PAGE == 'T'}">
						<c:import url="torneios/index.jsp" />
					</c:when>
				</c:choose>
			</c:if>
		</div>
	</div>
</body>
</html>